import React, {Component} from 'react';
import {NavLink} from 'react-router-dom';

class IndexMemberUnit extends Component {
    render() {
        let RES = [1, 2, 3, 4, 5, 6, 7, 8, 9, 0, 11, 12, 13, 14, 15, 16, 17, 18];
        let DOM = RES.map(function (item, i) {
            return (
                <NavLink exact to={{
                    pathname: '/member/detail',
                    state: {id: "上海xxx焊接材料有限公司"}
                }}><img key={i} src="http://temp.im/190x100" alt=""/></NavLink>
            );
        });

        return (
            <div className="text-center welding-association welding-member clear-mrb row">
                <h2>会员单位</h2>
                <div className="welding-set-gutter-line">
                    <hr/>
                    <span/>
                    <hr/>
                </div>
                <h3>MEMBER UNIT</h3>

                <div className="welding-member-unit-logo flex-set">
                    {DOM}
                </div>
            </div>
        );
    }
}

export default IndexMemberUnit;
